package com.hex.ds.hdrs.warn.dao;

import com.hex.bigdata.hbda.base.BaseDao;
import com.hex.bigdata.hbda.base.Page;
import com.hex.ds.hdrs.warn.dto.WarnSendLogDto;
import com.hex.ds.hdrs.warn.po.WarnSendLog;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Package: com.hex.ds.hdrs.warn.dao
 * @ClassName WarnSendLogDao
 * @Description: 告警发送日志
 * @Author: ji.tang
 * @Date 2022/4/29 17:49
 * @Version v1.0
 **/
@Repository
public class WarnSendLogDao extends BaseDao {

    public void insert(WarnSendLog warnSendLog){
        this.insert("com.hex.ds.hdrs.warn.dao.WarnSendLogDao.insert",warnSendLog);
    }

    public List<WarnSendLogDto> selectPages(Map map, Page page) {
        return this.selectPage(WarnSendLogDto.class,"com.hex.ds.hdrs.warn.dao.WarnSendLogDao.selectPages",page,map);
    }
}
